#ifndef __JOINT_TEST_H__
#define __JOINT_TEST_H__

#include "BaseLayer.h"

class TestDistanceJoint : public BaseLayer {
public:
	TestDistanceJoint();
	~TestDistanceJoint();
	static cocos2d::CCScene* scene();
	virtual bool init();
	CREATE_FUNC(TestDistanceJoint);

public:
	void initJoint();

public:
	virtual void update(float dt);
	virtual bool ccTouchBegan(cocos2d::CCTouch *pTouch, cocos2d::CCEvent *pEvent);
	virtual void ccTouchMoved(cocos2d::CCTouch *pTouch, cocos2d::CCEvent *pEvent);

private:
	//cocos2d::CCSize winSize;
	//b2World *m_world;
	//GLESDebugDraw* m_debugDraw;
	cocos2d::CCSprite *m_pSpriteA;
	cocos2d::CCSprite *m_pSpriteB;
};

#endif // __JOINT_TEST_H__